import React from 'react'
import {HashRouter as Router,Switch,Route,Redirect} from  "react-router-dom"
import  Login from "../pages/Login";
import  List from "../pages/List"

export default function index() {
    return (
        <Router>
            <Switch>
                <Route path="/" component={Login} exact></Route>
                <Route path="/list" component={List} ></Route>
                
            </Switch>
            
        </Router>
    )
}
